package com.example.clientend.domain;

import lombok.Data;

import java.io.Serializable;

/**
 * 接收主控端MQTT指令的封装类
 */
@Data
public class MqttMsg implements Serializable {
    // 目标被控端clientId
    private String deviceClientId;
    // 远控指令
    private String instruction;

    @Override
    public String toString() {
        return "MqttMsg{" +
                "deviceClientId='" + deviceClientId + '\'' +
                ", instruction='" + instruction + '\'' +
                '}';
    }
}
